package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import com.mdd.common.validator.annotation.IDMust;

/**
 * 快递消息通知参数
 * @author DEREK
 */
@Data
@ApiModel("快递消息通知更新参数")
public class ExpressMessageUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "ID")
    private Integer id;

    @NotNull(message = "content参数缺失")
    @ApiModelProperty(value = "消息内容")
    private String content;

}
